/*******************************************************************************
 * Copyright 2011 Alexandre Zglav and Morphiastic
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/
package com.morphiastic.tests.entities.shape;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;

import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Entity;
import com.morphiastic.annotations.ElastiField;
import com.morphiastic.annotations.ElastiFieldEmbedded;
import com.morphiastic.annotations.ElastiMorphed;

@Entity("shape")
@ElastiMorphed(typeName="triangle")
public class Triangle extends Polygon{

	
	@ElastiField
	private String[] stringArrayTest;
	
	@ElastiField
	private ArrayList<String> stringArrayListTest;
	
	@ElastiField
	private HashSet<Integer> intSetTest;
	
	
	@ElastiFieldEmbedded
	private Embedded1[] embeddedArray;
	
	@ElastiFieldEmbedded
	private ArrayList<Embedded1> embeddedArrayList;
 	
	
	
	
//	@ElastiField
//	private HashMap<String, String> stringstringMapTest;

	
	
	
	
	
	
	
	
	 

	/**
	 * @return the intSetTest
	 */
	public HashSet<Integer> getIntSetTest() {
		return intSetTest;
	}

	/**
	 * @param intSetTest the intSetTest to set
	 */
	public void setIntSetTest(HashSet<Integer> intSetTest) {
		this.intSetTest = intSetTest;
	}

	/**
	 * @return the stringArrayListTest
	 */
	public ArrayList<String> getStringArrayListTest() {
		return stringArrayListTest;
	}

	/**
	 * @param stringArrayListTest the stringArrayListTest to set
	 */
	public void setStringArrayListTest(ArrayList<String> stringArrayListTest) {
		this.stringArrayListTest = stringArrayListTest;
	}

	/**
	 * @param stringArrayTest the stringArrayTest to set
	 */
	public void setStringArrayTest(String[] stringArrayTest) {
		this.stringArrayTest = stringArrayTest;
	}

	/**
	 * @return the embeddedArray
	 */
	public Embedded1[] getEmbeddedArray() {
		return embeddedArray;
	}

	/**
	 * @param embeddedArray the embeddedArray to set
	 */
	public void setEmbeddedArray(Embedded1[] embeddedArray) {
		this.embeddedArray = embeddedArray;
	}

	/**
	 * @return the embeddedArrayList
	 */
	public ArrayList<Embedded1> getEmbeddedArrayList() {
		return embeddedArrayList;
	}

	/**
	 * @param embeddedArrayList the embeddedArrayList to set
	 */
	public void setEmbeddedArrayList(ArrayList<Embedded1> embeddedArrayList) {
		this.embeddedArrayList = embeddedArrayList;
	}

	/**
	 * @return the stringArrayTest
	 */
	public String[] getStringArrayTest() {
		return stringArrayTest;
	}

//	/**
//	 * @return the stringstringMapTest
//	 */
//	public HashMap<String, String> getStringstringMapTest() {
//		return stringstringMapTest;
//	}
//
//	/**
//	 * @param stringstringMapTest the stringstringMapTest to set
//	 */
//	public void setStringstringMapTest(HashMap<String, String> stringstringMapTest) {
//		this.stringstringMapTest = stringstringMapTest;
//	}
//	
//	
	
	
}
